Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixup places where it should be CCM instead of GCM. #7218

Merged
merged 1 commit into from
May 15, 2024

Conversation

anhu
Copy link
Member

@anhu anhu commented Feb 6, 2024

Fixes #7216

@anhu anhu requested a review from wolfSSL-Bot February 6, 2024 19:54
@anhu anhu self-assigned this Feb 6, 2024
src/keys.c Show resolved Hide resolved
@@ -1743,6 +1743,7 @@ enum Misc {
AES_CCM_16_AUTH_SZ = 16, /* AES-CCM-16 Auth Tag length */
AES_CCM_8_AUTH_SZ = 8, /* AES-CCM-8 Auth Tag Length */
AESCCM_NONCE_SZ = 12,
CCM_IMP_IV_SZ = 4, /* Size of GCM/CCM AEAD implicit IV */
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix the comment on this to be only CCM.
Fix the comment for GCM_IMP_IV_SZ to be only GCM.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix comment. Then we can accept this PR.

@@ -1743,6 +1743,7 @@ enum Misc {
AES_CCM_16_AUTH_SZ = 16, /* AES-CCM-16 Auth Tag length */
AES_CCM_8_AUTH_SZ = 8, /* AES-CCM-8 Auth Tag Length */
AESCCM_NONCE_SZ = 12,
CCM_IMP_IV_SZ = 4, /* Size of GCM/CCM AEAD implicit IV */
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix comment. Then we can accept this PR.

Copy link
Contributor

@dgarske dgarske left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR doesn't appear to fix anything, but is an acceptable cleanup. Over to @SparkiDev for final.

@anhu
Copy link
Member Author

anhu commented May 15, 2024

This PR doesn't appear to fix anything, but is an acceptable cleanup. Over to @SparkiDev for final.

Yes, was in response to a github bug report.

@anhu
Copy link
Member Author

anhu commented May 15, 2024

jenkins retest this please

@SparkiDev SparkiDev removed the request for review from wolfSSL-Bot May 15, 2024 23:24
@SparkiDev SparkiDev merged commit ca47d49 into wolfSSL:master May 15, 2024
99 checks passed
jefferyq2 pushed a commit to jefferyq2/wolfssl that referenced this pull request Jun 9, 2024
Fixup places where it should be CCM instead of GCM.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Variable size typo in GetCipherSpec()
4 participants